import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
import { getWeekMonthQuarterYear } from '/@/utils';
//列表数据
export const columns: BasicColumn[] = [
  {
    title: '工作项目',
    align: "center",
    dataIndex: 'project_dictText'
  },
  {
    title: '工作内容',
    align: "center",
    dataIndex: 'workContent'
  },
  {
    title: '记录部门',
    align: "center",
    dataIndex: 'companyDepartment_dictText'
  },
  {
    title: '工作开展情况',
    align: "center",
    dataIndex: 'workProgress'
  },
  {
    title: '频次',
    align: "center",
    dataIndex: 'frequency'
  },
  {
    title: '填写状态',
    align: "center",
    dataIndex: 'flag'
  },
  {
    title: '驳回意见',
    align: "center",
    dataIndex: 'opinion'
  },
];

// 高级查询数据
export const superQuerySchema = {
  project: {title: '工作项目',order: 0,view: 'list', type: 'string',dictCode: '',},
  workContent: {title: '工作内容',order: 1,view: 'textarea', type: 'string',},
  companyDepartment: {title: '记录部门',order: 2,view: 'list', type: 'string',dictCode: 'company_department',},
  workProgress: {title: '工作开展情况',order: 3,view: 'textarea', type: 'string',},
  frequency: {title: '频次',order: 4,view: 'text', type: 'string',},
  flag: {title: '填写状态',order: 5,view: 'text', type: 'string',},
  opinion: {title: '驳回意见',order: 6,view: 'textarea', type: 'string',},
};
